/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 12/23/2010 
           
            */


using System;
using System.Collections.Generic;
using System.Text;


namespace BusinessObject
{
    /// <summary>
    /// This is PhieuNhapHang object, it is object of BusinessObject table.
    /// </summary>
    public class PhieuNhapHang
    {
        #region fields
        private Int64 maPhieuNhapHang;
        private string nguoiNhap;
        private int maKho;
        private int maNhaCC;
        private DateTime ngayNhap;
        private DateTime sysCreatedDate;
        private string sysCreatedBy;
        private DateTime sysUpdatedDate;
        private string sysUpdatedBy;
        private Boolean isCommit;
        private Paging objPaging;
        private string ghiChu;
        private SortOrder objSortOrder;

        private string condition;

        private int toltalRow;


        #endregion fields

        #region constructor
        /// <summary>
        /// Define default constructor for PhieuNhapHang Object
        /// </summary>
        public PhieuNhapHang()
        {
            this.ghiChu = string.Empty;
            this.maPhieuNhapHang = Int64.MinValue;
            this.nguoiNhap = string.Empty;
            this.maKho = int.MinValue;
            this.ngayNhap = DateTime.MinValue; this.objPaging = new Paging();
            this.objSortOrder = new SortOrder();
            this.condition = string.Empty;
            this.toltalRow = 0;
            this.maNhaCC = int.MinValue;
            this.sysCreatedDate = DateTime.MinValue;
            this.sysCreatedBy = string.Empty;
            this.sysUpdatedDate = DateTime.MinValue;
            this.sysUpdatedBy = string.Empty;
            this.isCommit = true;
        }
        #endregion constructor
        #region properties
        /// <summary>
        /// Define MaPhieuNhapHang Property
        /// </summary>
        public Int64 MaPhieuNhapHang
        {
            get { return this.maPhieuNhapHang; }
            set { this.maPhieuNhapHang = value; }
        }
        /// <summary>
        /// Define NguoiNhap Property
        /// </summary>
        public string NguoiNhap
        {
            get { return this.nguoiNhap; }
            set { this.nguoiNhap = value; }
        }
        public string SysUpdatedBy
        {
            get { return this.sysUpdatedBy; }
            set { this.sysUpdatedBy = value; }
        }
        /// <summary>
        /// Define MaKho Property
        /// </summary>
        public int MaKho
        {
            get { return this.maKho; }
            set { this.maKho = value; }
        }
        public int MaNhaCC
        {
            get { return this.maNhaCC; }
            set { this.maNhaCC = value; }
        }
        /// <summary>
        /// Define NgayNhap Property
        /// </summary>
        public DateTime NgayNhap
        {
            get { return this.ngayNhap; }
            set { this.ngayNhap = value; }
        }
        public DateTime SysUpdatedDate
        {
            get { return this.sysUpdatedDate; }
            set { this.sysUpdatedDate = value; }
        }
        public DateTime SysCreatedDate
        {
            get { return this.sysCreatedDate; }
            set { this.sysCreatedDate = value; }
        }
        public string SysCreatedBy
        {
            get { return this.sysCreatedBy; }
            set { this.sysCreatedBy = value; }
        }
        public Paging ObjectPaging
        {
            get { return this.objPaging; }
            set { this.objPaging = value; }
        }
        public SortOrder ObjectSortOrder
        {
            get { return this.objSortOrder; }
            set { this.objSortOrder = value; }
        }
        public string Condition
        {
            get { return this.condition; }
            set { this.condition = value; }
        }
        public int ToltalRow
        {
            get { return this.toltalRow; }
            set { this.toltalRow = value; }
        }
        public Boolean IsCommit
        {
            get { return this.isCommit; }
            set { this.isCommit = value; }
        }
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        #endregion properties
    }
}